package com.syxp.pda.dao.detail;

import java.util.List;

import com.syxp.pda.core.bean.FieldBean;
import com.syxp.pda.core.command.QueryFilter;
import com.syxp.pda.core.dao.BaseDao;
import com.syxp.pda.core.web.PagingBean;
import com.syxp.pda.entity.detail.CheckPlanDetail;

public interface CheckPlanDetailDao extends BaseDao<CheckPlanDetail> {

	public CheckPlanDetail save(CheckPlanDetail paramT, String entityName);

	public CheckPlanDetail update(CheckPlanDetail paramT, String entityName);

	public void remove(CheckPlanDetail paramT, String entityName);

	public void remove(Integer paramPK, String entityName);

	public CheckPlanDetail get(Integer paramPK, String entityName);

	public List getAll(final String entityName);

	public List getAll(final PagingBean paramPagingBean, final String entityName);

	public List getAll(final QueryFilter paramQueryFilter,
			final String entityName);

	public List<Object[]> getReusltTrend(int checkStandardID, String startDate,
			String endDate, String precision);

	public List<Object[]> getPointsAnalysis(Integer deviceIDs[],
			String chkItem, String startDate, String endDate,String precision);

	public List<Object[]> excuteSql(String sqlStr, List<FieldBean> field);
}
